package machine;

public enum RegMne {
	CB, CT, PB, PT, SB, ST, HB, HT, LB, L1, L2, L3, L4, L5, L6, CP;
	int value = 0;

	public static String toStringAll() {
		String str	= "\n\tRegisters:";		
		for (RegMne r : values()) {
			if (r.value != 0) {
				str += "\n\t\t" + r.toString() + "=" + r.value;
			}
		}
		return str;
	}
}